//
//  ZOEEmtpyView.h
//  HealthyCity
//
//  Created by xxb on 2017/12/13.
//  Copyright © 2017年 智业互联网络科技有限公司 艾嘉健康. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,ImageTextDirection){
    ImageTextDirectionVertical = 0,
    ImageTextDirectionHorizontal = 1
};

@protocol ZOEEmtpyViewDelegate <NSObject>

- (void)emtpyViewClick;

@end

@interface ZOEEmtpyView : UIView

/**
 字体大小，默认16
 */
@property (nonatomic, assign) CGFloat fontSize;

/**
 图文间隔，默认为25
 */
@property (nonatomic, assign) CGFloat intervalImageText;

/**
 行间距，默认为10
 */
@property (nonatomic, assign) CGFloat linespace;

/**
 图文方向。水平还是垂直，默认垂直
 */
@property (nonatomic, assign) ImageTextDirection direction;

@property (nonatomic, strong) UIColor *normalTextColor;
@property (nonatomic, strong) UIColor *responseTextColor;


/**
 XBEmtpyView的父view的size。以防初始化的时候还不是最终的size
 */
@property (nonatomic, assign) CGSize parentViewSize;

@property (nonatomic, weak) id<ZOEEmtpyViewDelegate> delegate;

/**
 展示空白提示

 @param view 父view
 @param normalTip 普通提示
 @param responseTip 响应样式提示
 @param imageName 图片名字
 @param offset 跟父view的距离
 */
- (void)showEmptyInView:(UIView*)view withNormalTip:(NSString*)normalTip responseTip:(NSString*)responseTip image:(NSString*)imageName offset:(CGFloat)offset;

- (void)showEmptyInView:(UIView*)view withNormalTip:(NSString*)normalTip image:(NSString*)imageName offset:(CGFloat)offset;

- (void)showEmptyInView:(UIView*)view withImage:(NSString*)imageName offset:(CGFloat)offset;

- (void)showEmptyInView:(UIView*)view withNormalTip:(NSString*)normalTip responseTip:(NSString*)responseTip offset:(CGFloat)offset;

- (void)showEmptyInView:(UIView*)view withNormalTip:(NSString*)normalTip offset:(CGFloat)offset;


/**
 移除
 */
- (void)removeEmptyView;

@end
